<link href="css/style_question.css" type="text/css" rel="stylesheet" />
<?php
include_once('connection/connection.php');
include('config.php');
$form_id=trim($_REQUEST['form_id']);
$sql_unhabit="select * from tbl_dtls_q2_unhabit where q2_id=".$form_id;
$query_unhabit=mysql_query($sql_unhabit);
?> 
<table width="191" height="56"  border="0" cellpadding="0" bgcolor="#FDF9EE" id="table7">
	<tr>
		<td width="202" height="22" align="center" bgcolor="#F7E6B7">
			<font face="Verdana" style="font-size: 8.5pt" color="#990000">Unlisted Habitation Name</font></td>
			<!--<td width="202" height="22" align="center" bgcolor="#F7E6B7">
			<font face="Verdana" style="font-size: 8.5pt" color="#990000">Longitude</font></td>
			<td width="202" height="22" align="center" bgcolor="#F7E6B7">
			<font face="Verdana" style="font-size: 8.5pt" color="#990000">Latitude</font></td>-->
	</tr>
	
<?php
  	$i=1;
	while($row_unhabit=mysql_fetch_array($query_unhabit))
	{
	//echo $x=$row_unhabit['unhabit_name'];
?>
	<tr>
		<td width="202" align="center">
	  <input type="text" name="un_habit<?php echo $i;?>" id="un_habit<?php echo $i;?>" value="<?php echo $row_unhabit['unhabit_name']; ?>" size="20" class="txt"></td>
	</tr>	
<input type="hidden" name="counthabit" id="counthabit" value="<?php echo $no;?>"/>
<?php $i++;
} 
?>
</table>

